import ReactDOM from 'react-dom/client'
//根组件
import App from './App.tsx'
//全局样式组件
import './index.css'
//引入 路由器组件
import { HashRouter as Router } from "react-router-dom"
//引入 ReactRedux 连接库的 提供商组件
import { Provider } from 'react-redux'
//仓库实例
import store from './store/index.ts'

ReactDOM.createRoot(document.getElementById('root')!).render(
  // <React.StrictMode>
  <Provider store={store}>
    <Router>
      <App />
    </Router>
  </Provider>
  // </React.StrictMode>
)
